package com.nwpu.coursesupport.pagination;

public class MySQLDialect extends Dialect {

	@Override
	public boolean supportsLimit() {
		return true;
	}

	@Override
	public String getLimitSql(String sql, int offset, int limit) {
		return sql + " LIMIT " + offset + ", " + limit;
	}

}
